//
//  DHDataBaseConstFile.swift
//  dataBaseProj
//
//  Created by sea on 2020/1/7.
//  Copyright © 2020 CDSCRB. All rights reserved.
//

import Foundation

//***********************分割线***************************/
/// 比赛id
let DHMatchId = "matchId"

/// 比赛时间
let DHMatchTime = "matchTime"

/// 队伍a分数
let DHMatchScoreA = "matchScoreA"

/// 队伍b分数
let DHMatchScoreB = "matchScoreB"

/// 队伍a id
let DHMatchTeamA = "matchTeamA"

/// 队伍b id
let DHMatchTeamB = "matchTeamB"

/// 比赛名字
let DHMatchName = "matchName"

let DHMatchStatus = "matchStatus"

//***********************分割线***************************/


//***********************分割线***************************/
/// 队伍id
let DHTeamID = "teamID"

/// 队名
let DHTeamName = "teamName"

/// 球员数量
let DHTeamPlayerCount = "teamPlayerCount"

let DHTeamShouFaPlayerCount  = "shoufaCount"

let DHTeamTiBuPlayerCount = "tibuCount"

/// 图片
let DHTeamHead = "teamHead"

/// 输赢
let DHTeamWinOrLose = "teamWinOrLose"

/// 数据id
let DHTeamMatchDataId = "teamMatchDataId"
//***********************分割线***************************/

//***********************分割线***************************/
/// 球员id
let DHPlayerID  = "playerID"

/// 号码
let DHPlayerNum = "playerNum"

/// 名字
let DHPlayerName = "playerName"

/// 球队id
let DHPlayerTeamID = "playerTeamID"

/// 球员类型 替补 上场 教练
let DHPlayerType = "playerType"

/// 比赛数据id
let DHPlayerMatchDataID = "playerMatchDataID"


//***********************分割线***************************/

//***********************分割线***************************/

let matchDataKeyDic = ["射门":DHMatchDataShoot,"射正":DHMatchDataShootIn,"越位":DHMatchDataOffside,"角球":DHMatchDataCornnerKick,"犯规":DHMatchDataFoul,"红牌":DHMatchDataRedCard,"黄牌":DHMatchDataYellowCard,"进球":DHMatchDataDirveBall,"换人":DHMatchDataPlayerChangeTime]
/// 数据id 与其所有者id一致
let DHMatchDataID = "matchDataID"

/// 射门
let DHMatchDataShoot = "matchDataShoot"

/// 射正
let DHMatchDataShootIn = "matchDataShootIn"

/// 越位
let DHMatchDataOffside = "matchDataOffside" //越位

/// 角球
let DHMatchDataCornnerKick = "matchDataCornnerKick" //角球

/// 犯规
let DHMatchDataFoul = "matchDataFoul" //犯规

/// 黄牌
let DHMatchDataYellowCard = "matchDataYellowCard"

/// 红牌
let DHMatchDataRedCard = "matchDataRedCard"

/// 扑救
let DHMatchDataDirveBall = "matchDataDirveBall" //扑救

/// 换人
let DHMatchDataPlayerChangeTime = "matchDataPlayerChangeTime"
//***********************分割线***************************/


typealias compeletBlock = (AnyObject)->()



